package com.xiaoxu.controller;


import com.xiaoxu.damain.Userinfo;
import com.xiaoxu.serviceimpl.userEditServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/useredit")
@CrossOrigin
public class userEditController {

    @Autowired
    private userEditServiceImpl userEditService;

    @PostMapping
    public Boolean userEdit(@RequestBody Userinfo userdata){
       return userEditService.userEidt(userdata);
    }

}
